<script>
export default {
  data() {
    return {
      isIPhone: false,
      liuhai: 0
    };
  },
  onLaunch: function () {
    uni.getSystemInfo({
      success: (res) => {
        console.log(res);
        if (res.model.includes('iPhone') && res.statusBarHeight > 20) {
          this.isIPhone = true;
          this.liuhai = res.statusBarHeight;
        }
      }
    });
  }
};
</script>

<style lang="scss">
/*每个页面公共css */
@import '@/uni_modules/uni-scss/index.scss';
/* #ifndef APP-NVUE */
@import '@/static/customicons.css';
// 设置整个项目的背景色
page {
  background-color: #f9f9f9 !important;
}
/* #endif */
.example-info {
  font-size: 14px;
  color: #333;
  padding: 10px;
}

/* 不显示滚动条 */
::-webkit-scrollbar {
  width: 0;
  height: 0;
  color: transparent;
  display: none;
}
</style>
